package com.csnf.mapper;

import com.csnf.entity.Task;

import java.util.List;

public interface TaskMapper {
    void addTask(Task task);
    Task getTaskById(int taskId);
    void updateTask(Task task);
    void deleteTask(int taskId);
    List<Task> getAllTask();
    List<Task> getTaskByName(String taskName);
}
